<div class="file" id="List">
    <table width="100%" border="0" cellspacing="1" cellpadding="2" class="list">
        <tr class="heading"  bgcolor="#708089">
            <th width="6%" valign="top" align="left"><?php echo __('S.NO') ?></th>
            <th valign="top"  align="left"><?php echo  __('UNIT_CODE', true); ?></th>
            <th valign="top"  align ="left"><?php echo __('PAYMENT_TYPE_ID', true); ?></th>
            <th valign="top"  align ="left"><?php echo __('CNT', true); ?></th>
            <th valign="top"  align ="left"><?php echo __('INCOME', true); ?></th>
            <th valign="top"  align ="left"><?php echo __('PAYABLE', true); ?></th>
            <th valign="top"  align ="left"><?php echo __('MPF', true); ?></th>
            <th valign="top"  align ="left"><?php echo __('INC_REMARK', true); ?></th>
            <th valign="top"  align ="left"><?php echo __('COURSE_REMARK', true); ?></th>
        </tr>
        <?php
        if (isset($payableList) && count($payableList) > 0) {
            $i = 0;
            foreach ($payableList as $arrayDetail) {
                ?>
                <tr class="<?php echo (($i%2) == 0)? 'even' : 'odd';?>">
                    <td>&nbsp;<?php echo $i + 1 ?></td>
                    <td>&nbsp;<?php echo $arrayDetail['BatchList']['unit_code'];?></td>
                    <td>&nbsp;<?php echo $arrayDetail['Payable']['payment_type_id']; ?></td>
                    <td>&nbsp;<?php echo $arrayDetail['Payable']['course_head_count']; ?></td>
                    <td>&nbsp;<?php echo $arrayDetail['Payable']['total_fee_income']; ?></td>
                    <td>&nbsp;<?php echo $arrayDetail['Payable']['amount_payable']; ?></td>
                    <td>&nbsp;<?php echo ($arrayDetail['Payable']['mpf_entitlement'] == 'Y') ? 'Yes' : 'No' ; ?></td>
                    <td>&nbsp;<?php echo $arrayDetail['Payable']['income_splite_remarks']; ?></td>
                    <td>&nbsp;<?php echo $arrayDetail['Payable']['course_remarks']; ?></td>
                </tr>  
                <?php
                $i++;
            }
        }
        ?>
       <tr>
            <td colspan="15" bgcolor="#ffffff" align="center">
                <div class="pagination">            
                    <?php
                    if (!empty($payableList)) {
                        echo $this->Element('pagination');
                    } else {
                        echo __("NO_RECORD_MESSAGE");
                    }
                    ?>              
                </div>
            </td>
        </tr>
    </table>
</div>